package work;
import javax.swing.ImageIcon;

//水雷
public class Mine extends SeaObject{
    Mine(int x,int y){
        super(11,11,x,y,1);
    }
    @Override
    public void move() {
        y-=speed;
    }
    /** 重写getImage()获取图片 */
    public ImageIcon getImage(){
        return images.mine; //返回水雷图片即可
    }
}
